package com.etc.staticproxy;

public class StaticTargetProxy {
    private Target target;

    public StaticTargetProxy(Target target) {
        this.target = target;
    }

    public StaticTargetProxy() {
    }

    public void aaa() {
        try {
            System.out.println("---befor 加1块-----");
            target.aaa();
            System.out.println("---after 加1块-----");
        } catch (Exception e) {
            System.out.println("---exception 加1块-----");
        } finally {
            System.out.println("---finally 加1块-----");
        }

    }
}
